using System.Threading.Tasks;

namespace JlPay.Sdk.Core
{
    /// <summary>
    /// HTTP请求客户端接口
    /// </summary>
    public interface IHttpClient
    {
        /// <summary>
        /// 执行HTTP请求
        /// </summary>
        /// <param name="request">HTTP请求对象</param>
        /// <returns>HTTP响应对象</returns>
        Task<HttpResponse> ExecuteAsync(HttpRequest request);
    }
} 